<template>
  <footer class="footer-container">
    <div class="footer-content">
      <div class="footer-brand">
        <h3>zzz-博客在线平台</h3>
        <p>分享知识，传递价值</p>
      </div>
      <div class="footer-links">
        <div class="link-group">
          <h4>快速导航</h4>
          <ul>
            <li><a href="/">首页</a></li>
            <li><a href="/front/search">搜索</a></li>
            <li><a href="/front/person">个人中心</a></li>
          </ul>
        </div>
        <div class="link-group">
          <h4>关于我们</h4>
          <ul>
            <li><a href="#">联系我们</a></li>
            <li><a href="#">服务条款</a></li>
            <li><a href="#">隐私政策</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="footer-bottom">
      <p>&copy; 2024 zzz-博客在线平台. All rights reserved.</p>
    </div>
  </footer>
</template>

<script>
export default {
  name: "Footer'"
}
</script>

<style scoped>
.footer-container {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.5) 50%, transparent 100%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  flex: 1;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: #bdc3c7;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.link-group {
  min-width: 120px;
}

.link-group h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #ecf0f1;
}

.link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-group li {
  margin-bottom: 8px;
}

.link-group a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.link-group a:hover {
  color: #667eea;
  transform: translateX(4px);
}

.link-group a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.link-group a:hover::before {
  width: 8px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6;
  font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .link-group {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 24px 16px;
  }
  
  .footer-brand h3 {
    font-size: 1.3rem;
  }
  
  .footer-links {
    gap: 20px;
  }
}
</style>